package org.acme.job.utils;

import java.util.Calendar;
import java.util.Date;

/*
 * @className: TimeUtils
 * @author: chentao
 * @date: 2025/3/10 下午5:31
 * @Version: 1.0
 * @description:
 */
public class TimeUtils {

    public static Date getTime(int sec) {
        Calendar calendar = Calendar.getInstance();
        calendar.add(Calendar.SECOND, sec);
        return calendar.getTime();
    }
}
